<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<meta charset="utf8">
	<title>用户管理</title>
<script src="http://localhost/appstore/Public/bootstrap/js/bootstrap.min.js"></script>
	<script src="http://localhost/appstore/Public/bootstrap/js/jquery.min.js"></script>
	 <link href="http://localhost/appstore/Public/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="texe/css">

</head>
<body>

<table border width="89%" class="table table-hover">
	<tr>
		<th>头像</th>
		<th>用户名</th>
		<th>真实姓名</th>
		<th>邮箱</th>
		<th>电话</th>
		<th>状态</th>
		<th>审核信息</th>
		<th>明星作者</th>
		<th>首页推荐</th>
		<th>操作</th>
	</tr>

	//接受users变量

	<?php if(is_array($users)): $i = 0; $__LIST__ = $users;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
		<th><img src="http://localhost/appstore/Public/Uploads/photo/<?php echo ($vo["photo"]); ?>"></th>
		<th><?php echo ($vo["username"]); ?></th>
		<th><?php echo ($vo["['realname']"]); ?></th>
		<th><?php echo ($vo["email"]); ?></th>
		<th><?php echo ($vo["tele"]); ?></th>
		<th>
			<?php if($vo["state"] == 0): ?>禁用
				<?php elseif($vo["state"] == 1): ?>普通
				<?php else: ?>禁言<?php endif; ?>


		</th>


		<th><?php echo ($vo["verifyinfo"]); ?></th>
		<th><!--<?php echo ($vo["isstar"]); ?>-->
		<?php if($vo["isstar"] == 0): ?>不是明星作者
				<?php elseif($vo["state"] == 1): ?>是明星作者
				<?php else: ?>禁言<?php endif; ?>
			</th>

		<th><!--<?php echo ($vo["isfirst"]); ?>-->
			<?php if($vo["isfirst"] == 0): ?>非首页推荐
				<?php elseif($vo["state"] == 1): ?>首页推荐
				<?php else: ?>禁言<?php endif; ?>
			</th>

		</th>
		<th>修改<br>
			删除<br>
			取消明星作者<br>
			禁用<br>
		</th>
	</tr><?php endforeach; endif; else: echo "" ;endif; ?>

	
	</table>
	<div  class="pagination row">
			<div class="col-md-5">
				<?php echo ($page); ?>
			</div>

	</div>
</body>
</html>